package com.acme.domain.account;

import com.acme.exceptions.NoEnoughFundsException;

import java.math.BigDecimal;

public interface Account {
    void deposit(final BigDecimal amount) throws IllegalArgumentException;
    void withdraw(final BigDecimal amount) throws NoEnoughFundsException;
    AccountType getAccountType();
    BigDecimal getBalance();
}